Announcement

Collapse
No announcement yet.

watch a string array

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • watch a string array

    PB/DOS 3.5, WinME (same on Win98 1st Ed).
    Can't believe this hasn't been posted before,
    maybe I'm a dummy at searching.

    Watch window, display numeric array elements 1 thru 3...easy...
    type a(1),3

    Watch window, display string array elements 1 thru 3...
    Are you thinking a$(1),3
    You're wrong, that displays the 1st 3 chars of a$(1)

    So how's it done ?

    Been bugging (?) me for years...8-}


  • #2
    Simple, you just have to watch each subscript individually for string arrays.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment

    Working...
    X