How on earth does this pass the syntax check?

Tyler Cameron Style cmaitson at telus.net
Wed Nov 2 13:46:11 PST 2005


This is some old code I found in input processing.  I copied over the
chunk you see here to a stand alone output processing table, and it
STILL compiles. Can anyone tell me WHY?!?   I can't figure it out -
line 27 should cause it to fail the syntax check.

   1 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
lbox1    If: 
       Then: dim desc[28](40)
   2 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["1"]="<BA> Balance Adjustment"; desc["2"]="<BFS> Balance Forwa
             rd - ShortTerm"
   3 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["3"]="<BFM> Balance Forward - Medium Term"; desc["4"]="<BFP> B
             alance Forward Private Placement"
   4 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["5"]="<MD> Medium Term Deposit"; desc["6"]="<MR> Medium Term R
             ental Income"
   5 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["7"]="<CT> Commodities to Options Transfer"
   6 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["8"]="<MW> Medium Term Withdrawal"
   7 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["9"]="<SD> Short Term Deposit"; desc["10"]="Medium Term ROI"
   8 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["11"]="<OT> Options to Commodities Transfer"
   9 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["12"]="<SW> Short Term Withdrawal"
  10 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["13"]="<PAD> Private Placement A Deposit"
  11 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["14"]="<PBD> Private Placement B Deposit"
  12 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["15"]="<PAR> Private Placement A ROI"
  13 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["16"]="<PBR> Private Placement B ROI"
  14 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["17"]="<PAW> Private Placement A Withdrawal"
  15 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["18"]="<PBW> Private Placement B Withdrawal"
  16 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["19"]="<GF> GTN Fee"
  17 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["20"]="<OAT> Options to PP A Transfer"
  18 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["21"]="<OBT> Options to PP B Transfer"
  19 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["22"]="<CAT> Commodities to PP A Transfer"
  20 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["23"]="<CBT> Commodities to PP B Transfer"
  21 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["24"]="<HFD> Hedge Fund Deposit"
  22 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["24"]="<HFR> Hedge Fund ROI"
  23 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["25"]="<HFW> Hedge Fund Withdrawal"
  24 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["26"]="<LD> Long Term Deposit"
  25 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["27"]="<LR> Long Term Rental Income"
  26 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: desc["28"]="<LW> LongTerm Withdrawal"
  27 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: a=LISTBOX(desc,




More information about the Filepro-list mailing list