Home > Archive > SQL Anywhere ultralite > January 2006 > comments in asa9 ultralite









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author comments in asa9 ultralite
Michal Seliga

2006-01-09, 7:23 am

hello,

is there any switch which would disable adding statements to generated
ULDatabase.cpp as comment?

problem is that i have my statements commented and resulting cpp file can't be
compiled because of nested /* */ comments

i tried with asa 9.0.2.3221, ultralite c++ project for palm


i don't like idea of changing comments in sql statement sfrom /* */ to //
because they are quite long sometimes so if there is any other way it wouldbe
better...
Michal Seliga

2006-01-09, 7:23 am

sorry, i meant generated .hpp file

Michal Seliga wrote:
> hello,
>
> is there any switch which would disable adding statements to generated
> ULDatabase.cpp as comment?
>
> problem is that i have my statements commented and resulting cpp file can't be
> compiled because of nested /* */ comments
>
> i tried with asa 9.0.2.3221, ultralite c++ project for palm
>
>
> i don't like idea of changing comments in sql statement sfrom /* */ to //
> because they are quite long sometimes so if there is any other way it wouldbe
> better...

Michael Thode

2006-01-09, 11:23 am

We don't have any support for that. It should be possible to write a perl
script (or your favorite string processing tool) to strip the comments out
of the generated file. Try searching for 'strip comments' in google.

Mike

"Michal Seliga" <michal.seliga@visicom.sk> wrote in message
news:43c251c5$1@foru
ms-1-dub...
> hello,
>
> is there any switch which would disable adding statements to generated
> ULDatabase.cpp as comment?
>
> problem is that i have my statements commented and resulting cpp file

can't be
> compiled because of nested /* */ comments
>
> i tried with asa 9.0.2.3221, ultralite c++ project for palm
>
>
> i don't like idea of changing comments in sql statement sfrom /* */ to //
> because they are quite long sometimes so if there is any other way it

wouldbe
> better...



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com