Welcome, Guest.
Please login or register.
xblite.exe revision 2.41.16
Forum Login
Login Name: Create a new account
Password:     Forgot password

XBLite Forum    General Boards    XBLite Compiler  ›  xblite.exe revision 2.41.16
Users Browsing Forum
No Members and 2 Guests

xblite.exe revision 2.41.16   This thread currently has 5,235 views. Print Print Thread
2 Pages « 1 2 All Recommend Thread
Guy1954
October 29, 2017, 12:42pm Report to Moderator Report to Moderator

Medium Member
Posts: 192
29 October 2017

Hi Xbliters!

The new and improved Xblite standard library xst.x

Please find attached: xst_71_29oct17_src.zip (revision 71 - 18 August 2017), which contains:
1.xst.x
2.xst.dec (for the new intrinsic types)
3.makexst.mak
4.BuildXstDll_bat.txt (to be renamed BuildXstDll.bat)
5.\lib\*.asm (GoAsm support library)
6.\lib\BuildObjs_bat.txt (to be renamed BuildObjs.bat)
'
' r71-new+++
  $$ASCII               = 19          ' Ansi WinAPIs
  $$UTF8                = 20          ' UTF 8 bit encoding
  $$UTF16LE             = 21          ' Little Endian 16-bit encoding (Windows)
  $$WIDE                = 21          ' Unicode WinAPIs
  $$UTF16BE             = 22          ' Big Endian 16-bit encoding (Internet)
  $$UTF32LE             = 23          ' 32-bit Intel machines
  $$UTF32BE             = 24          ' Big Endian 32-bit encoding (Motorola, ...)
  $$UNICODE             = 25          ' True Unicode string type
' r71-new~~~
'
' r71-new+++
' r71-new+++
' Explicit Integers (imported data record)
'
$$INT8                =  2          ' == $$SBYTE : 8-bit integer
$$UINT8               =  3          ' == $$UBYTE : unsigned 8-bit integer
$$INT16LE             =  4          ' == $$SSHORT: Little Endian 16-bit integer (Windows)
$$UINT16LE            =  5          ' == $$USHORT: Little Endian unsigned 16-bit integer (Windows)
$$INT32LE             =  6          ' == $$SLONG : Little Endian 32-bit integer (Windows)
$$UINT32LE            =  7          ' == $$ULONG : Little Endian unsigned 32-bit integer (Windows)
$$INT64LE             = 12          ' == $$GIANT : Little Endian 64-bit integer (Windows)
' r71-new~~~
'
' r71-new+++
' Byte Order Marks (borrowed from Alan Gents' unc.x)
'
'
     $$BOM8$          = "\xEF\xBB\xBF"         ' UTF-8
     $$BOM16$         = "\xFF\xFE"             ' Normal   16 bit BOM - LE machine stores as FFFE - BE machine stores as FEFF
     $$INVERSE_BOM16$ = "\xFE\xFF"             ' Inverted 16 bit BOM - used to emulate BE output on LE machine
     $$BOM32$         = "\xFF\xFE\x00\x00"     ' Normal   32 bit BOM - LE machine stores as FFFE0000 - BE machine stores as 0000FEFF
     $$INVERSE_BOM32$ = "\x00\x00\xFE\xFF"     ' Inverted 32 bit BOM - used to emulate BE output on LE machine
' r71-new~~~
'
Enjoy!
Bye! Guy

(xblite 2.41.16 3 of 5)



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 15 - 18
Guy1954
December 22, 2017, 12:03pm Report to Moderator Report to Moderator

Medium Member
Posts: 192
22 December 2017

The new and improved Xblite compiler xsx.x:
- XstFileFound (file$)    ' $$TRUE if found
- XstFileNotFound (file$) ' $$TRUE if NOT found

I added these 2 functions because I could not get comfortable with XstFileExists (), even though I extanded it to return a displayable error message. Please note that XstFileFound () and XstFileNotFound () are just wrappers for XstFileExists ().


Please find attached: xsx_23_22dec17_src.zip (revision 23 - 22 December 2017), which contains:
1.xsx.x
2.xst.dec (for the new intrinsic types)
3.makexsx.mak
4.BuildXsxDll_bat.txt (to be renamed BuildXsxDll.bat)
5.xblite_xstlog_function.doc
6.xblite_xstfilefound.doc
7.xblite_xstfilenotfound.doc

(xblite 2.41.16 2 of 5)



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 16 - 18
Guy1954
February 23, 2018, 11:26am Report to Moderator Report to Moderator

Medium Member
Posts: 192
23 February 2018

Hi Xbliters!

My new and improved personal Grab Bag.

Please find attached: grab_bag_23feb18_src.zip (23 February 2018), which contains:
1. accessors and stringaccessors(from Callum Lowcay)
2. QuickSort (to rebuild xsx.x)
3. Wapi (Windows APIs for GUI apps)
4. XGrid (an Xblite wrapper for the grid custom control)
5. and many more...

This is my personal touch ;-)

(xblite 2.41.16 5 of 5 - the end!)



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 17 - 18
Guy1954
February 23, 2018, 11:49am Report to Moderator Report to Moderator

Medium Member
Posts: 192
23 February 2018

Hi Xbliters!

Please find attached xblite_2_41_16_23feb18_src.zip, which contains:
- read_me.txt (this text)
- BuildXbiteExe_bat.txt
- makexblite.mak
- xblite.x
- xblite_23feb18.x (same as this xblite.x)
- xst.dec


Suggested Installation
======================
1. Make a backup copy of all files of folder C:\xblite\bin\ to C:\xblite\bin\bak\
2. Create a new folder C:\xblite_2_41_16\
3. Unzip xblite_2_41_16_23feb18_src.zip (Extracts xblite.x and the other files)
4. Copy the unzipped files into your folder C:\xblite_2_41_16\xblite\
5. Rename CompileXbite.txt CompileXbite.bat
6. Use CompileXbite.bat to recompile
7. Copy xblite.exe into C:\xblite\bin\


New features
============
1. New size-dependant integer types:
   -  INT8 <=> SBYTE,  INT16LE <=> SSHORT,  INT32LE <=> SLONG, INT64LE <=> GIANT
   - UINT8 <=> UBYTE, UINT16LE <=> USHORT, UINT32LE <=> ULONG

2. New default character type: CHAR (similar to STRING)
   - CHAR <=> UBYTE, CHAR() <=> UBYTE(), CHARAT <=> UBYTEAT().
   - CHAR <=> UINT8, CHAR() <=> UINT8(), CHARAT <=> UINT8AT().

3. Assembly code injection: CODE and END CODE
   - (CODE, END CODE) for GoAsm code injection.

4. Improved IMPORT: GRAB
   - GRAB statement: sort of COBOL's COPY REPLACING ==text1== BY ==text2==:

I believe this will promote code reuse, and a snippet production.

Bye! Guy


(xblite 2.41.16 1 of 5)



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 18 - 18
2 Pages « 1 2 All Recommend Thread
Print Print Thread

XBLite Forum    General Boards    XBLite Compiler  ›  xblite.exe revision 2.41.16

Thread Rating
There is currently no rating for this thread