Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tab in pop-up menu label
#3
I made a something which would do the job.

EDIT: I made much better code.
Code:
Copy      Help
;;Configurations
str word1raw = "Redraw[]Zoom[]Original"
str word2raw = "F1[]F2[]F3"
int width = 10

;;Declarations
ARRAY(str) word1 = word1raw
ARRAY(str) word2 = word2raw
int fix
str fixed
int i

;;Fixing and output
fixed = ""
for(i 0 word1.len)
    fix = width-word1[i].len
    fixed = word1[i]
    rep fix
        fixed.from(fixed " ")
    fixed.from(fixed word2[i])
    out fixed


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)