Community
Message Board

Chat room - users
Game Over
( 394431 downloads)
Work In Progress
( 523201 downloads)
Links

Code Exchange
Downloads
Tutorials
Add to Favourites

Submit news

DIV ARENA FORUMS
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: time dll proyect
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


post.gif posted on 31-10-2018 at 01:03 PM
time dll proyect


Hi, this is my work, dll, source, doc, examples. I hope someone would find this useful to control the time from divdx.
---------------------------------------------------------------
Hola, así va mi trabajo, dll, fuente, doc, ejemplos. Espero que alguien pueda encontrarlo útil para controlar el tiempo desde divdx.

Saludos, Vortigano.

zip-sha256 41413070eb0f27b2c65ee655353075a73920606338d1f70d3607ab1317b83043

get_time_str.png - 3kB clock_time.png - 2kB diff_time.png - 4kB diff_time_str.png - 3kB get_time_struct.png - 3kB


Attachment: divdx_time_dll_002.zip (100kB)
This file has been downloaded 25 times

[Edited on 16-11-2018 by Vortigano]
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 31-10-2018 at 03:35 PM


*time dll project

Code:
get_time_str(str_argument, size_of_string_to_print_time, string_to_print_time); returns: If the resulting string in less than size_of_string_to_print_time (which includes the terminating null-character), the total number of characters copied to "string_to_print_time" (not including the terminating null-character) is returned, otherwise it returns 0. If str_argument is void "" , get_time_str returns -1 Example program: program example: import <test2.dll> private string system_time; begin get_time_str( "The time is %x - %I:%M%p",255,system_time); write(0,160,100,4,system_time); while (!key(_esc)) frame; end end


Attachment: some_information.txt (645B)
This file has been downloaded 33 times

[Edited on 31-10-2018 by Vortigano]
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 1-11-2018 at 08:57 AM


Very nice indeed. Great example of a DLL extension.

If it's ok with you I will add this to the main div code. Actually, if you are feeling up to it, you can add this to the main div source on github and send a pull request. We already have dll and example program files in the source tree.
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 1-11-2018 at 09:30 AM


Thank you very much, it would be great if this contribution is part of div. Still, I would like to continue adding other functions to the library, plus I would like to add some protection against errors because I would like it to be as immune as possible to errors without overloading the process speed. Also, I would like to use function macros for the library in the near future.

For now I dont know how to use github, so if you have time you can do it, thanks.

Un saludo muy grande!
Vortigano. :)
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 368
Registered: 6-8-2016
Member Is Offline


[*] posted on 2-11-2018 at 11:24 AM


Hi Vortigano

Good job, I have not yet had time to try the code that you've gone through, I hope to do it this weekend, if you have any questions or problems, as you always know where to find me ;), keep it up and thanks for the contribution.
------------------------------------------------------------------------------------------------------------------------------------------------------ ---
Hola Vortigano,

Buen trabajo, aun no he tenido tiempo de probar el codigo que ma has pasado, espero hacerlo este fin de semana, si tienes alguna duda o problema, como siempre sabe donde encontrarme ;), sigue asi y gracias por el aporte.
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 2-11-2018 at 08:07 PM


Muchas gracias Cictec, sigo trabajando, paso a paso como me aconsejaste siempre. Saludos :)
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 5-11-2018 at 09:46 AM


Cictec can you message me when you have time please?
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 368
Registered: 6-8-2016
Member Is Offline


[*] posted on 5-11-2018 at 10:30 AM


Hello Mike,

I have time today, i will message you on our contact on facebook. :)
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 5-11-2018 at 11:28 AM


Quote: Originally posted by CicTec  
Hello Mike,

I have time today, i will message you on our contact on facebook. :)


Thank you :)
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 368
Registered: 6-8-2016
Member Is Offline


[*] posted on 5-11-2018 at 11:46 AM


You are welcome. :)
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 15-11-2018 at 07:31 AM


I have finished the library functions, I have tested them in several ways. I am writing the documentation and preparing some simple examples of each function.
-------------------------------------------------------------------------------------------------------------------------------------------
Terminé las funciones de la biblioteca, las verifiqué de muchas maneras. Estoy escribiendo la documentación y preparando algunos ejemplos de cada función.

Vortigano :spin:
View user's profile View All Posts By User
MikeDX
DIV Nerd
*********


Avatar


Posts: 8388607
Registered: 25-2-2016
Member Is Offline


[*] posted on 15-11-2018 at 10:05 AM


Very nice. I am looking forward to seeing it!
View user's profile View All Posts By User
CicTec
DIV Pro
******




Posts: 368
Registered: 6-8-2016
Member Is Offline


[*] posted on 15-11-2018 at 04:25 PM


Congratulations for the creation of the library. :)
-----------------------------------------------------
Felicitaciones por la creación de la biblioteca. :)
View user's profile View All Posts By User
Vortigano
DIV Regular
***




Posts: 154
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline


[*] posted on 16-11-2018 at 08:36 AM


He resubido mi trabajo / My work is updated.

:post: http://div-arena.co.uk/forum2/viewthread.php?tid=332&got...
View user's profile View All Posts By User

  Go To Top

Powered by XMB
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 18]