Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / help with strings

Author
Message
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 26th Jun 2004 03:19
can some one tell me how to get somthing like this working

it gives me an error
thanks

Jordan
9483726150
4938271605
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Jun 2004 03:58 Edited at: 26th Jun 2004 03:58
abc$ is a string variable holding a string literal, so you test for a string literal, meaning a string representation in quotes. Your code is fine, just change...

if abc$ = "yes" then print "hello"
if abc$= "no" then print "bye bye"


* DBP_NETLIB_v1.4 - w/VARIABLE WATCHER & CONSOLE! * Click Logo
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 26th Jun 2004 04:15
oh thanks

has your ending began or has your beginning ended
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 26th Jun 2004 05:44
Well, to make it a bit easier you could use a loop instead of going to start everytime


Though either will ge the job done.

Login to post a reply

Server time is: 2024-09-22 14:18:27
Your offset time is: 2024-09-22 14:18:27