Path: news1.icaen!news.uiowa.edu!chi-news.cic.net!compuserve.com!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsxfer3.itd.umich.edu!portc01.blue.aol.com!spamz.news.aol.com!audrey01.news.aol.com!not-for-mail From: mikew50@aol.com (MikeW50) Newsgroups: comp.sys.apple2.programmer Subject: Re: New Apple IIGS BASIC Date: 4 Feb 1997 03:41:35 GMT Organization: AOL http://www.aol.com Lines: 74 Message-ID: <19970204034100.WAA10918@ladder01.news.aol.com> References: <19970122020001.VAA09303@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com X-Admin: news@aol.com Part 3 General Language Information ---------------------------- Maximum size of a program: Largest contiguous available RAM. Maximum size of variables: Largest remaining contiguous RAM after allocating the program space. Length of variable names: Currently 2 characters. (This will probably change to 255 or fewer characters.) Types of variables: integer (-32768..32767; integer math is _not_ done using reals) long integer (-2147483648..2147483647) byte (0..255) real (7 digit accuracy; does not use SANE) double (19 digit accuracy) pointer string (up to 255 characters per string) records and arrays consisting of any other type Statements consist of an optional line number followed by a line of tokens up to 64K in length. Most editors (including the one in GSoft) can’t actually create lines that long, though. Multiple statements can appear on one line if separated by : characters. ORCA compatible source debuggers like PRIZM, ORCA/Debugger and Splat! are supported. The GSoft Command Set --------------------- Operations ---------- = + - * / ^ < > <= =< >= => <> >< ( ) AND NOT OR Declarations ------------ DIM identifier '(' expression [ ',' expression ]* ')' Support will be included for defining records and for setting the type of a variable (e.g. forcing I to be an integer, rather than a real), but the exact syntax has not yet been fixed. Arithmetic Functions -------------------- ABS '(' expression ')' ATN '(' expression ')' COS '(' expression ')' DEF FN --- EXP '(' expression ')' INT '(' expression ')' LOG '(' expression ')' RND '(' expression ')' SGN '(' expression ')' SIN '(' expression ')' SQR '(' expression ')' TAN '(' expression ')'