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 / REM statement

Author
Message
Bean
20
Years of Service
User Offline
Joined: 23rd Mar 2004
Location: Flower Mound Texas
Posted: 15th Apr 2004 22:15
Very new to DBPRO - trying to find out if anybody knows if the apostrophe is an acceptable replacement for REM statement
or is it only usable in DB Classic? Some code that I have imported has the single apostrophe as the REM statement and it runs fine.
If I try to use it , it fails, but REM works fine....?[
Blue Shadow
20
Years of Service
User Offline
Joined: 6th Feb 2004
Location:
Posted: 15th Apr 2004 22:23 Edited at: 15th Apr 2004 22:23
As far as i know you can't use an apostrophe in DBPro. Thats if your talking about the one thats on the @ key. What you need to use is the key above the tab key. See if that works.

Cheers,

Michael


Visit the Code Monkey's website at http://www.freewebs.com/codemonkeystudios
Bean
20
Years of Service
User Offline
Joined: 23rd Mar 2004
Location: Flower Mound Texas
Posted: 15th Apr 2004 22:32
Thanks!
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 15th Apr 2004 22:47 Edited at: 15th Apr 2004 22:47
ya use the
NOT the

and for large portions of comments you can use "remstart" and "remend"


Formerly known as "DarkWing Duck"
Blue Shadow
20
Years of Service
User Offline
Joined: 6th Feb 2004
Location:
Posted: 15th Apr 2004 22:47
That's OK. No problem. Glad to help.


Visit the Code Monkey's website at http://www.freewebs.com/codemonkeystudios
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 16th Apr 2004 00:59
Also forward tick/rem are commands in DBP and not compiler directives. So...

if bubba = 0 ` check for bubba

will get you in trouble, but...

if bubba = 0 :` check for bubba

is OK. This trips up a lot of people with VB experience.
--
TAZ

Login to post a reply

Server time is: 2024-11-26 12:30:28
Your offset time is: 2024-11-26 12:30:28