posted on Aug, 2 2016 @ 04:30 AM
a reply to: notmyrealname
REM pretend to be filled already:
DECLARE SUB PrintSomeStars (StarCount!)
REM QuickBASIC example
IF StarsActivated = 1 THEN
INPUT "What is your name: ", UserName$
PRINT "Hello "; UserName$
INPUT "How many stars do you want: ", NumStars
INPUT "Do you want more stars? ", Answer$
LOOP UNTIL Answer$ ""
Answer$ = LEFT$(Answer$, 1)
LOOP WHILE UCASE$(Answer$) = "Y"
PRINT "Goodbye "; UserName$
PRINT "Access Denied"
LOOP UNTIL INKEY$ ""
SUB PrintSomeStars (StarCount)
REM This procedure uses a local variable called Stars$
Stars$ = STRING$(StarCount, "*")
HINT: Vulnerability hidden
edit on 2-8-2016 by verschickter because: (no reason given)