[futurebasic] [FB3] passing.... uh.... vars

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: "Al Boyd" <aboyd@...>
Date: Fri, 26 Nov 1999 17:18:37 -0800
I'm only getting one BEEP in the below example. Is there a bug in FB3 (or
something different) when passing variables from one FN to another? I'm
using CD version of FB3.

Thanks,
Al

CLEAR LOCAL FN
plotLocOnMap(nam$,lat$,lon$,txXpos%,txYpos%,tColor%,txSz%,txStl%,markr%)
  '---------------------------------------

  LONG IF LEFT$(nam$,8) = "Victoria"
    LONG IF LEFT $(lat$,4) = "28.8"
      LONG IF LEFT $(lon$,4) = "97.0"
        BEEP
      END IF
    END IF
  END IF
  [snip]
END FN
'
'
CLEAR LOCAL FN addLocsToMap
 '--------------------------------------
  [snip]
  LONG IF LEFT$(mNm$,8) = "Victoria"
      LONG IF LEFT $(mLt$,4) = "28.8"
        LONG IF LEFT $(mLn$,4) = "97.0"
          BEEP
        END IF
      END IF
   END IF
   FN
plotLocOnMap(mNm$,mLt$,mLn$,mTxXpos%,mTxYpos%,MTColor%,mTxSz%,mTxStl%,mMarkr
%)
   [snip]
END FN