Ariane Soft PPL2 Pocket Programming DataMite
  #1  
Old 03-16-2010, 07:16 PM
c4esar c4esar is offline
Member
 
Join Date: Mar 2009
Location: Germany
Posts: 41
Default SQLite and Calendar-Classes PPL 1.62

Hey guys!

So far I didn't dare to deal with SQlite.
But after reading Helen's SQLite-manual (thanks again!) I tried some things out.
In some way I found it difficult to always open, close, calculate...so I made two little classes for using SQLite with v1.62.
One to handle a ResultSet and one to handle a Connection.
Missing some Date- and Time-Functions I added a Calendar-Class to alleviate the handling of that, too.
Don't know - perhaps s.o. might find them helpful, too, or can point me to the proper ones I didn't find.
Thanks for any help with that in advance.

P.S. Still get that "runtime error" mentioned here when running the executable on my iPaq4150:
http://www.forums.arianesoft.ca/showthread.php?t=1955
Attached Files
File Type: zip times3.zip (990.4 KB, 374 views)
Reply With Quote
  #2  
Old 03-17-2010, 01:13 PM
c4esar c4esar is offline
Member
 
Join Date: Mar 2009
Location: Germany
Posts: 41
Default

Calendar can add negative Amounts of Time-Units now.

Trying to run my classes with v1.53pro now took a whole lot of time.
Unfortunately I didn't know that v1.53 is not able to return other values than bool's, numbers and simple strings.
So cascading some funcs was not a good idea.

Now I modified everything so that it's able to run on 1.53, too (attached).
The modified classes work with both versions 1.53 and 1.62, the only difference is that with 1.53 the "normal" sql_v3.ppl should by used, while with 1.62 the one without "@"-chars has to be used.
Attached Files
File Type: zip times3_153.zip (249.3 KB, 339 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 www.ppl-lang.com - All rights reserved
Web Design by BR Web Consulting Ltd