User Tag List

Results 1 to 3 of 3

Thread: How do you use screen variables in Zscript, not ZASM?

  1. #1
    Gibdo beefster09's Avatar
    Join Date
    Mar 2006
    Age
    31
    Posts
    699
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,710
    Level
    16
    vBActivity - Bars
    Lv. Percent
    97.39%

    How do you use screen variables in Zscript, not ZASM?

    Yeahhh!!! I thought that D[x] did screen variables. Is it like SD[x]?
    I get the error: Syntax error, unexpected LBracket, expecting semicolon or or, on token [

    Here is the faulty line of code:
    D[0] = 0; // comment

    What did I do wrong?
    Avatar: Just who the SPAAAACE do you think I am?

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.07%

    Re: How do you use screen variables in Zscript, not ZASM?

    They're members of Screen. Access them with Screen->D[n].

  3. #3
    Gibdo beefster09's Avatar
    Join Date
    Mar 2006
    Age
    31
    Posts
    699
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,710
    Level
    16
    vBActivity - Bars
    Lv. Percent
    97.39%

    Re: How do you use screen variables in Zscript, not ZASM?

    Oops. Forgot about the pointer.
    Avatar: Just who the SPAAAACE do you think I am?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social