April 19, 2024, 03:06:09 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


How many Variables or elements Can Type - Endtype Holf?

Started by Zooker, April 10, 2008, 07:08:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zooker

Below is The largest Type EndType sequence. It worked in PDS 7.1 But  it makes a Syntax erro in Creative. I Have Carefully converted several of these all the same way but only this one Draws an error.
Type Config                     :'129 BYTES
  Def A[18]:IString
  Def B[22]:IString
  Def C[22}:IString
  Def D:Int     
  Def E:[10]:IString
  Def F:Double
  Def G[1]:IString
  Def H[1]:IString
  Def I[1]:IString
  Def J[1]:IString
  Def K[1]:IString
  Def L[1]:IString
  Def M[1]:IString
  Def N[8]:IString
  Def O:Int
  Def P:Int
  Def Q:Int
  Def R:Int       
  Def S:Double
  Def T:Double
EndType
DEF Cnf:Config
I hate to be a pest,but this is getting to me . How can there be an error?

LarryMc

Two problems:

Def C[22}:IString

Def E:[10]:IString

I don't use CBasic but problem was easy to find.

I found them by simply eliminating all but 1 element and then adding one at a time to see which caused the error.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

Hi all...
Zooker is realy interested.
but dont worry everybody has mistakes
ok
bye