GLBasic forum

Feature request => IDE/Syntax => Topic started by: MrTAToad on 2010-Mar-16

Title: Variables in TYPES
Post by: MrTAToad on 2010-Mar-16
It would be nice if variables in TYPE's could be seperated by a comma.  Eg :

Code (glbasic) Select
TYPE t
  a%,b%,c%
ENDTYPE


At the moment, this generates a syntax error.
Title: Re: Variables in TYPES
Post by: Moru on 2010-Mar-17
GLBasic separates commands with semicolon

Code (glbasic) Select
TYPE t
  a%; b%; c%
ENDTYPE
Title: Re: Variables in TYPES
Post by: MrTAToad on 2010-Mar-17
Good point - will have to use that instead!