Search:

Type: Posts; User: dco045

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    733

    Formatting string in Bin_To_Hex$ function

    Hello ThinBasic developpers.

    May I suggest optionnal parameters to Bin_To_Hex$( string ) function ? :confused:

    A number of bytes grouping , an a separator string.

    Bin_To_Hex$("Hello") ...
  2. Replies
    1
    Views
    428

    Some ennoying issues

    Hi ThinBasic gurus,

    Recently I encountered problems with ThinBasic 1.10.7

    * The first linked to the Microsoft Security Essentials antivirus (virus definition 1.239.574.0) which prevented me...
  3. Solved

    Hi great Petr,


    Exactly what I was looking for.... But I was searching in "FILE_****" or "OS_***" functions. :drink:

    Lot of thanks.

    Dany
  4. Current working directory

    Hi Petr,

    My long Unix / C background leads me to use a syscall/function to set a current workig directory.
    There,all manipulation of files needs only to know the relative file name instead of...
  5. Curious behaviour of Console_SetScreenBufferSize function

    Hi Petr, :D

    Included : control panel/system screenshot.

    My initial wish was to create a three lines console to monitor a data gathering program running in background all day long.
    ...
  6. Curious behaviour of Console_SetScreenBufferSize function

    Hi,

    I encounter today a curious behaviour of Console_SetScreenBufferSize (xSize, ySise) function.

    When the row count (ySise) is 24 or less the console window is full height of the screen
    and...
  7. Printing and setting current working directory

    Hi, :friends:

    I am searching a function to know the current working directory of a bundled exe, :?:
    and also a function to force a new value for current working directory.


    Thanks for help
    ...
  8. Replies
    10
    Views
    1,027

    Spying communication between devices

    Hello guys,



    Can I introduce me in your conversation.

    You can investigate more deeply in serial communication by using another PC
    as a spy.

    You connect another PC to the comm line...
  9. Question solved

    Hi Eros,


    I think it will help me. :)



    Best regards
  10. One TB script managing TWO or more... console windows

    Hi,

    Is it possible for a TB script that uses "console" to manage more than one output console ?

    For instance, the first/main console for classic user dialog, and other(s) console(s) to...
  11. Curious side effect of data type casting in VAL() function ?

    Hi,

    The following thin basic example is from a program wich extracts data from a microprocessor development board.
    The uploaded file contains formatted lines. The first field, on 4 chars is the...
  12. Replies
    10
    Views
    4,600

    Ok , fulfills my need I did not flash...

    Ok ,

    fulfills my need

    I did not flash with "*" and any_char in the help page :read: :blind:. Bang in my nose.:violent:

    Can I suggest that all examples you have sent to me, should be...
  13. Replies
    10
    Views
    4,600

    Hi Eros, It's almost what I needed, it...

    Hi Eros,



    It's almost what I needed, it just misses the zeros left.

    A format 00000#.000 --> 123.45 printed as 000123.450

    :D Perhaps in ThinBasic 2.0.0.0.0.0 :D
  14. Replies
    10
    Views
    4,600

    Hi Eros, Thanks, I'll write a function...

    Hi Eros,

    Thanks, I'll write a function :escribe:



    Dany
  15. Replies
    10
    Views
    4,600

    HI Eros, Function used OK , perhaps could...

    HI Eros,



    Function used OK , perhaps could be added as standard string function ?



    But numbers formatting still causes trouble.
  16. Replies
    13
    Views
    3,175

    Hi Eros and Petr, When I asked for module to...

    Hi Eros and Petr,

    When I asked for module to use for these functions, I could not imagine that it would cause such an avalanch of ideas...... :comp1:

    I can only say that Petr's idea is very...
  17. No more crash ! :cool: It works, but : ...

    No more crash ! :cool:

    It works, but :


    Array Sort symbol_prg() ' empty strings first , then chars in ASCII order OK for ascending
    Array Sort symbol_prg() , Descend ' give the same...
  18. Replies
    5
    Views
    1,342

    Hi Eros , In my example, I set strings...

    Hi Eros ,


    In my example, I set strings variables by chr_str = "something" . It was only for testing purpose.
    But in my real prog, the string value is loaded from a file whose format for an...
  19. Replies
    13
    Views
    3,175

    Hi Eros. Version 1.9.16.17 . I only...

    Hi Eros.

    Version 1.9.16.17 . I only downloaded 1.10 on a sandbox PC. I am prudent with versions labelled as Beta. But if you say 'quite stable ' ? I'll try it.

    The problem comes because I...
  20. Replies
    5
    Views
    1,342

    Ok , thanks > > > > But, Eros says : ...

    Ok , thanks

    > > > > But, Eros says :




    %MY_CONST = 0X200c000f As Long
    PrintL Hex$(%MY_CONST) , %MY_CONST ' works fine
    %MY_OTHER_CONST = &h200c000f As Long
  21. Hi Eros, This behaviour would fulfill my...

    Hi Eros,

    This behaviour would fulfill my needs, because a previous check does not allow duplicate values in first field (string)

    Regards



    Dany
  22. Replies
    13
    Views
    3,175

    HI Eros, But the reason I posted on these...

    HI Eros,
    But the reason I posted on these function is that the relevant


    uses "tcpudp"

    doesn't appear in help files either online or offline.

    As I said in my PM of 21 january, I begin...
  23. Replies
    5
    Views
    1,342

    extracting hexadecimal data from string

    Hi

    Does a function as "val(string)" already exists for extracting number from hexadecimal string ?
    Or do I write it by myself ?


    hex_str = "&h100"
    numb = hexval( hex_str)
    if numb = 256...
  24. Difficulties when trying to sort a custom type array

    Hi,

    A you can see in enclosed file, I try to sort an array.
    This array contains members (10 in my example but more in reality) each member is
    type
    'members
    end type defined.

    When I try...
  25. Replies
    13
    Views
    3,175

    Hi Eros, Your example works fine. But what...

    Hi Eros,

    Your example works fine. But what about functions :


    n = HOST_ADDR [(nIndex)]

    s = HOSTIP_TONAME(nIP)

    n = HOSTNAME_TOIP(sHost)
Results 1 to 25 of 48
Page 1 of 2 1 2