[gurps] Failing autopilots and RVO
Zan Lynx
zlynx at acm.org
Thu Mar 5 12:59:39 CST 2009
Knapp wrote:
> On Thu, Mar 5, 2009 at 6:04 AM, Jeff Wilson <jwilson at io.com> wrote:
>>> From: Zan Lynx <zlynx at acm.org>
>>> for(i=0; i<x; i++) { print i } for unknown x may never halt, but:
>> I think you are missing a semicolon there.
>>
>> But isn't there a limit to the maximum value that can be stored in x for a
>> particular implementation with finite resources, where it would halt
>> regardless?
>>
>> --
>> Jeff Wilson - jwilson at io.com
>
> If you think that is C code then you are missing and 'f' not a ';'.
> And if it is C code then the variable type would be set and there
> would be a limit.
> :-)
It was pseudo-C or Perlish of some kind. I wasn't going to write out an
entire program.
And sure, in C at least variables always have a type which will limit
their size, although that size could be 64 bits or 128 and the loop
won't end until the heat death of the universe.
And in some other computer language, i might be an expanding variable
(BigInt, forex) which just continues to grow larger as it counts up.
In the land of computer science *theory*, i and x are unlimited and may
grow without bound, how about that? :-)
--
Zan Lynx
zlynx at acm.org
"Knowledge is Power. Power Corrupts. Study Hard. Be Evil."
More information about the GurpsNet-L
mailing list