Code correction in Visual Studio Code.

2024-05-26 Thread AntonioFS
Hello. I understand. Sorry for how I added the image, but I'm not used to do it with this kind of forum editor. Thank you very much. Antonio F.S.

Code correction in Visual Studio Code.

2024-05-26 Thread AntonioFS
Hello. Whenever I can, I continue to study Nim. :-) I have an issue that I don't understand: when I write a Nim code in Visual Studio Code, I get a series of recommendations between the same code in grey colour. If it is an 'int' for example, I double click on it and it includes it in the code

GUI app with nim

2024-02-21 Thread AntonioFS
Hello. Thank you. However, I think there is a lot that could be learned from Gambas ( ).

GUI app with nim

2024-02-21 Thread AntonioFS
Hello. In a later thread I already mentioned how important it is for Nim to have a GUI system that defines the language, cross-platform (like Lazarus, for example). It is a pity that I have to explain this kind of loopholes and their consequences to a group of companies that I have been advisin

Getting resources from other sources for the current source.

2024-01-28 Thread AntonioFS
Hello. I post below for further clarification, the summary of this thread: Best regards. Antonio F.S. #[ Author: janAkali // Forum: -> https://forum.nim-lang.org/ Date: 28/11/2024 Description: gets a resource from a Nim source file. Example: Source fil

Getting resources from other sources for the current source.

2024-01-28 Thread AntonioFS
Hi Araq. Thank you for the clarification on formatting code. Regarding your observation, I will tell you that in almost 62 years of this life that I am beginning to finish, I have learned that the individual mind is as especially diverse as the whole Universe can be. The ways of analysing and

Getting resources from other sources for the current source.

2024-01-28 Thread AntonioFS
Hello janAkali. I have adapted your code to my needs and, indeed, dispensing with 'from' and 'import', it works fine. thank you very much! :-) :-) In any case, how easy it would have been to have a command/symbol in Nim so that, as in other languages, placing it before the constant containing t

Getting resources from other sources for the current source.

2024-01-27 Thread AntonioFS
Hello. For some unknown reason, after modifying the source and executing it, the application worked correctly (hence my previous message), but then when recompiling again it does not support the constant with the path either. :-( It seems that 'from` only supports the literal path name and not

Getting resources from other sources for the current source.

2024-01-27 Thread AntonioFS
Hello. After two days of struggling with the issue, it finally worked by declaring the path variable as a constant. :-) Thank you very much though. Best regards. Antonio F.S.

Getting resources from other sources for the current source.

2024-01-27 Thread AntonioFS
Hello. I think that would certainly be the case. Thank you. Best regards. Antonio F.S.

Getting resources from other sources for the current source.

2024-01-27 Thread AntonioFS
Hello. I am trying to create a source file with variables containing paths to other sources files. My need is to rescue resources for the current source file, so my idea is to achieve it with something like this: variablePathFromFileContainingResource="./folderContainingResourceSource/FileFromRe

'can have side effects' error.

2024-01-24 Thread AntonioFS
Hello. Actually my approach was wrong because no function was needed in this case. The thing is that changing the mindset from one language to another takes time and effort. But it has helped me a lot to realise that in Nim functions have a correctly strict semantic connotation. The code (if y

'can have side effects' error.

2024-01-24 Thread AntonioFS
Hello. It is clear that such concepts are not too understandable for me with Nim. I will study your reply, for which I am very grateful. Best regards. AntonioF.S.

'can have side effects' error.

2024-01-24 Thread AntonioFS
Hello. I am "stuck" in my learning of Nim. In the attached code, I don't know how to get rid of the error: 'introduccionValoresEnCampos' can have side effects. Would you be so kind as to review the code to know why I get this error in the function in question? Best regards. Antonio F.S. * * *

'can have side effects' error.

2024-01-24 Thread AntonioFS
Hi. Hello It seems that the code has lost its formatting when sending the message. Is it possible to attach the source file? Best regards. Antonio F.S.

About the Nim official documentation update.

2024-01-21 Thread AntonioFS
Hello. Yes, it is no problem. But I will do it when I am more advanced. Best regards. Antonio F.S.

About the Nim official documentation update.

2024-01-21 Thread AntonioFS
Hello. As a possible idea, it could be written on Nim's blog. I think it is an important enough issue to be clearly reflected every time it occurs. Best regards. Antonio F.S.

About the Nim official documentation update.

2024-01-21 Thread AntonioFS
Hello. As I am studying Nim, I am also creating documentation in Spanish on my website. I find that the life of Nim is very active in terms of new capabilities or perhaps also updating and deprecating existing ones. My question is: how to know about this in the official documentation, if Nim g

Wishlist: Ideal UI library for Nim

2024-01-05 Thread AntonioFS
On the other hand, it occurs to me that you wanted to invite us to use a different thread, as the one you started had some very clear requirements at the beginning of it. So maybe some of us have misinterpreted it and, in my case with my previous comment, I was not too fortunate in doing so. If

Wishlist: Ideal UI library for Nim

2024-01-05 Thread AntonioFS
Hello. It is not my intention to generate any controversy. I am simply delighted with Nim after many years with classic languages (some of them obsolete and some of them defunct). But I must admit that my position as a beginner probably makes me commit (some blunders, as we say in Spain). That's

Wishlist: Ideal UI library for Nim

2024-01-04 Thread AntonioFS
Hello. I am aware that people like you have a high degree of interest in having someone else's inspiration correspond to you satisfactorily about how you want things to go. However, please be in no doubt that our contributions are made with professional nobility and with the intention to help.

Wishlist: Ideal UI library for Nim

2023-12-29 Thread AntonioFS
Hello. How about this UI system? Besides being MIT licensed, it seems to be updated regularly. Best regards. Antonio F.S.

Wishlist: Ideal UI library for Nim

2023-12-29 Thread AntonioFS
Hello. Here is a nice collection of UI systems. Now it remains to know which of these is the best for Nim. Possibly those who have used them, can give their opinion on this. Best regards. Antonio F.S.

Wishlist: Ideal UI library for Nim

2023-12-29 Thread AntonioFS
Hello. Qt Creator is free and open source. However, there are some circumstances in which it may be necessary to pay for the use of Qt. Best regards. Antonio F.S.

Wishlist: Ideal UI library for Nim

2023-12-29 Thread AntonioFS
Hello. It seems that the documentation is not complete. From my point of view, this issue is fundamental to use any software tool. Best regards. Antonio F.S.

Wishlist: Ideal UI library for Nim

2023-12-22 Thread AntonioFS
Hello. And of course this is a very relevantly important thread, which is why, from my limited knowledge of Nim so far, I encourage Nim specialists to get involved in the search for a GUI solution that adapts to the language as soon as possible, as a standard to be improved from the beginning,

Wishlist: Ideal UI library for Nim

2023-12-21 Thread AntonioFS
Hello. I am a student of Nim. There is a lot to know about this language but, one of the issues that seems to me one of the most important (because I have experience in other languages) is, logically, the GUI system. The initial approach seems to me to be very successful but, the contributions

Operators.

2023-12-11 Thread AntonioFS
Hello. Perfect explanation. Thank you very much. Best regards. Antonio F.S.

Operators.

2023-12-11 Thread AntonioFS
Hello again. >From the list of tokens displayed in the Nim manual, these two I don't >understand: (. .) [: Any explanation and especially examples, please? Best regards. Antonio F.S.

Operators.

2023-12-04 Thread AntonioFS
Hello. Well explained. I understand now. Thank you. Best regards. Antonio F.S.

Operators.

2023-12-03 Thread AntonioFS
Hello. I don't understand the following operators, can you help me with examples? '@' '~' Thank you. Best regards. Antonio F.S.

RAD system for Nim?

2023-11-26 Thread AntonioFS
Hello. Great. I see that Nim is rich in GUI solutions as well. :-) Thank you very much. Best regards. Antonio F.S.

RAD system for Nim?

2023-11-26 Thread AntonioFS
Hello. Although I only work with Linux, I will study your contributions with interest. Thank you very much. Best regards. Antonio F.S.

RAD system for Nim?

2023-11-25 Thread AntonioFS
Hello. I would like to take advantage of this thread to get advice on a GUI system that can be easily adapted to Nim. Best regards. Antonio F.S.

RAD system for Nim?

2023-11-25 Thread AntonioFS
Hello. Thank you very much for your reply. Best regards. Antonio F.S.

RAD system for Nim?

2023-11-25 Thread AntonioFS
Hello. I think I read that the first version of Nim was made with Lazarus Free Pascal. I visited your website and was pleasantly surprised to see that you have your own IDE and a RAD system connected to the source code of the application being made. This is appealing, although these days I have

Question from one of my customers.

2023-11-20 Thread AntonioFS
Hello. One thing I have read repeatedly on the Internet about Nim is that the Nim community is friendly and quick to help. I consider this very important and will pass it on to my client. As for what you are giving me as characteristics of the language compared to others (plus what I am learnin

Question from one of my customers.

2023-11-20 Thread AntonioFS
Hello. Well, the thing is that at 61 years old I have been programming in some languages for about 40 years (Basic, Fortran, Cobol, Bal, Clipper, some Java and some Javascript together with HTML, CSS). This client started small and now has a group of five medium-sized companies. The thing is th

Question from one of my customers.

2023-11-19 Thread AntonioFS
Hello. Thank you very much for your feedback. I look forward to hearing from other people on this forum as well, so that I can form a solid opinion. Best regards. Antonio F.S.

Question from one of my customers.

2023-11-19 Thread AntonioFS
Hello. Thank you for your response. The thing is, it is not for me as a technician (because I like what I am learning), but for the client to whom I must give guarantees of language presence in the market and confidence in terms of corporate prospects. Best regards. Antonio F.S.

Question from one of my customers.

2023-11-19 Thread AntonioFS
Hello. A few months ago someone introduced me to a client, owner of a small group of companies. He told me that their programmer was no longer there and that they had to maintain and create new applications in...Nim! (hence I am currently studying it). It was the first time I knew about this l

Mismatch Nim Documentation Regarding 32-bit Floating-Point Literals.

2023-10-31 Thread AntonioFS
Hello. My intention was not to judge anyone, I am simply learning Nim and together with PHIND, I am confirming with my checks in the IDE VS Code that what is in the manual, corresponds to the execution of the sentences. I use IA because it is very difficult for a novice to decipher without exa

Mismatch Nim Documentation Regarding 32-bit Floating-Point Literals.

2023-10-31 Thread AntonioFS
Thank you Yardanico and janAkali for your explanations but above all, for the examples (in Spain we say that a picture is worth a thousand words :-) ). Now I understand better. Thank you Araq too, for your explanation. Best regards. Antonio F.S.

Mismatch Nim Documentation Regarding 32-bit Floating-Point Literals.

2023-10-30 Thread AntonioFS
Hello. Based on the official Nim documentation, I can see there's a mismatch between the documentation and the current functionality of the Nim language regarding floating-point literals. Here's the issue and corresponding examples detailed: According to the official Nim documentation, the lang

Error: number out of range:

2023-09-29 Thread AntonioFS
Hello. Perfectly understood. Thank you very much. Best regards. Antonio F.S.

Error: number out of range:

2023-09-28 Thread AntonioFS
Thank you for your response. In the following examples, only uint32 and uint4 produce the overflow error. Why? Best regards. Antonio F.S. let uintLit: uint = 42; let uintLitBis = 42'u let uint8Lit: uint8 = 255; let uint8LitBis = 255'u8 let uint16Lit: uint16 = 65535; let uint16LitBis = 65535'u

Error: number out of range:

2023-09-28 Thread AntonioFS
Hello. I am a new student at Nim. I find that, with the following example, it produces an overflow error on the first statement, but on the second statement it gets it right. I don't understand Thank you. Best regards. Antonio F.S. let uint64Lit: uint64 = 18446744073709551615 echo uint64Lit l