Search found 135 matches

by Hard
Aug 09, 2009 21:50
Forum: Projects
Topic: FbEdit
Replies: 963
Views: 168870

bug: remove a file from project and then search sth in the whole project
by Hard
Aug 07, 2009 0:49
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

only the sqlite3_column_name. i checked a few basic functions (implement and looking at the old .bi) and everything just worked fine (except SQLITE3_BIND_TEXT, but i'm not sure wheter the function does what i want - editing text). i'm not sure wheter the changing of values returned of a const functi...
by Hard
Aug 06, 2009 17:17
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

here is it: #INCLUDE ONCE "SQLITE3.BI" #DEFINE INLINE DO #DEFINE INLINE_START DO #DEFINE INLINE_END LOOP WHILE 0 DECLARE FUNCTION SQLITE_PREPARE(DATABASE AS SQLITE3 PTR, STATEMENT AS SQLITE3_STMT PTR PTR, VALUE AS STRING) AS INTEGER DECLARE FUNCTION SQLITE_STEP(STATEMENT AS SQL...
by Hard
Aug 06, 2009 9:34
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

i now got rid of the callback - with modifying your .bi it works just fine: #INCLUDE ONCE "SQLITE3.BI" #DEFINE INLINE DO #DEFINE INLINE_START DO #DEFINE INLINE_END LOOP WHILE 0 DIM SQLITE3_01 AS SQLITE3 PTR IF (SQLITE3_OPEN("TEST.SQLITE", @SQLITE3_01) <> SQLITE_OK)...
by Hard
Aug 05, 2009 16:07
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

now SQLITE3_COLUMN_TEXT works with changing AGS .bi: Declare Function sqlite3_column_name(ByVal As sqlite3_stmt Ptr, ByVal N As Integer) As Const ZString Ptr thanks to Mysoft. you (AGS) should have a look at the "Const" stuff, because Mysoft said he thinks that this isnt supported by fb.
by Hard
Aug 05, 2009 13:12
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

thanks AGS could you please also upload the .def? i now made this: #INCLUDE ONCE "SQLITE3.BI" DECLARE FUNCTION SQLITE_CALLBACK CDECL (BYVAL NotUsed AS ANY PTR, BYVAL argc AS INTEGER, BYVAL argv AS ZSTRING PTR PTR, BYVAL colName AS ZSTRING PTR PTR) AS INTEGER DIM SQLITE3_01 AS SQLIT...
by Hard
Aug 05, 2009 0:28
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

thanks guys

after playing with this and sqlite manager, it was rather easy:
http://linuxgazette.net/109/chirico1.html

when AGS finished the translation, ill post some samples :)
by Hard
Aug 03, 2009 21:37
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

If you want to play around with it, and if you have sqlite3 installed, you can use the terminal/command prompt and work with it more directly. And the functions you use their should be similar to what you put in FB. the ff addon called sqlite manager does the same job with a neat gui :) What specif...
by Hard
Aug 03, 2009 17:10
Forum: General
Topic: question about sqlite3
Replies: 23
Views: 2910

question about sqlite3

hi there i wanna start programming with sqlite3. i am new to db stuff, i always did stuff like that with raw data. i did search in the forums, but didnt find anything useful. could someone please write a tutorial (simply create/delete table; create/read/modify/delete table entry) - and update the he...
by Hard
Jul 30, 2009 20:38
Forum: General
Topic: FindFirstVolume missing in winbase.bi?
Replies: 4
Views: 788

thanks zippy, but this is sort of hackish. shouldn't we just add the missing decs (ive got a few) for the next release?
by Hard
Jul 30, 2009 17:08
Forum: General
Topic: FindFirstVolume missing in winbase.bi?
Replies: 4
Views: 788

FindFirstVolume missing in winbase.bi?

hi

in reference to:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

its declared in the WinBase.h (win/winbase.bi). i cant find it there. is it just missing or why isnt it inside of the .bi?

thanks - hard
by Hard
Jul 28, 2009 11:42
Forum: General
Topic: Problem with Numberconverting
Replies: 12
Views: 1848

Drago wrote:DJ means this


jeah, but its worthless for me at this point:

Code: Select all

DIM ULONGINT_01 As Ulongint

ULONGINT_01 = 123457854587864567

ULONGINT_01 *= 1.1

Print (ULONGINT_01 And &HFFFFFFFFUL)

SLEEP


thanks MichaelW, maybe this helps someone fixing the bug
by Hard
Jul 27, 2009 19:49
Forum: General
Topic: Problem with Numberconverting
Replies: 12
Views: 1848

will this be fixes somewhen (soon)

edit:
what i actually wanted to do is to make some basic multiplication/addition:

Code: Select all

Dim ULONGINT_01 As ULONGINT

ULONGINT_01 = 2442671311

ULONGINT_01 *= 1.1

Print ULONGINT_01

SLEEP
by Hard
Jul 27, 2009 14:33
Forum: General
Topic: Problem with Numberconverting
Replies: 12
Views: 1848

vdecampo wrote:That's wierd. If yuu change the data type from ULongInt to UInteger the code works.


i need ulongint, cause some of my values are too high for uinteger.

adhay wrote:Works fine in FB.15


im with 0.21.0 beta

D.J.Peters wrote:only bit 32 ist wrong


i dont see your point. what should i do? is it a bug?
by Hard
Jul 27, 2009 13:26
Forum: General
Topic: Problem with Numberconverting
Replies: 12
Views: 1848

Problem with Numberconverting

hi

i let the code speak for itself:

Code: Select all

DIM DBL_01 AS DOUBLE

DBL_01 = 2442671311.3

DIM ULONGINT_01 AS ULONGINT

ULONGINT_01 = CAST(ULONGINT, DBL_01)

PRINT ULONGINT_01

SLEEP


where is the problem? number too high?

thanks - hard

Go to advanced search