User talk:Jjuanhdez: Difference between revisions

From Rosetta Code
Content added Content deleted
 
(6 intermediate revisions by 4 users not shown)
Line 2: Line 2:
Hi! You may want to rework [[Pell%27s_equation#FreeBASIC]] as per (eg) [[Miller–Rabin_primality_test#Using_Big_Integer_library]].<br>
Hi! You may want to rework [[Pell%27s_equation#FreeBASIC]] as per (eg) [[Miller–Rabin_primality_test#Using_Big_Integer_library]].<br>
The Phix entry on the former page may be a better place to start than the VB one. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:04, 14 June 2019 (UTC)
The Phix entry on the former page may be a better place to start than the VB one. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:04, 14 June 2019 (UTC)

Hello! Thanks for the info. I did not know him I'm going to study it.

== Hey there ==

Nice to see someone else working on FreeBASIC. I thought it was just me. :) [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 14:51, 9 November 2020 (UTC)


== The Name Game ==

In your computer programming language entry for &nbsp; '''BASIC246''' &nbsp; the Rosetta Code task &nbsp; [https://rosettacode.org/wiki/The_Name_Game The Name Game], &nbsp; you have all the vowels capitalized &nbsp; ''except'' &nbsp; for the lowercase vowel &nbsp; '''e'''. &nbsp; &nbsp; &nbsp; Is that a typo?. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:05, 11 December 2020 (UTC)

== Combinations ==

Hello

Thank you for your very clean BASIC implementation, which was fun to translate into RPL.
Just a question: don't you think it could better work with an ELSE instruction?

subroutine iterate (curr$, start, stp, depth)
for i = start to stp
if depth = 0 then print curr$ + " " + string(i)
<span style="color:red">else</span> call iterate (curr$ + " " + string(i), i+1, stp, depth-1)
next i
end subroutine
[[User:Aerobar|Aerobar]] 23:42, 7 June 2023 (CET)


Hello [[User:Aerobar|Aerobar]]!

Yes it is somewhat faster to use the ELSE statement. Although not much else (in my tests)

Thank you anyway.

Latest revision as of 19:53, 8 June 2023

use big integer library

Hi! You may want to rework Pell's_equation#FreeBASIC as per (eg) Miller–Rabin_primality_test#Using_Big_Integer_library.
The Phix entry on the former page may be a better place to start than the VB one. --Pete Lomax (talk) 12:04, 14 June 2019 (UTC)

Hello! Thanks for the info. I did not know him I'm going to study it.

Hey there

Nice to see someone else working on FreeBASIC. I thought it was just me. :) Thebigh (talk) 14:51, 9 November 2020 (UTC)


The Name Game

In your computer programming language entry for   BASIC246   the Rosetta Code task   The Name Game,   you have all the vowels capitalized   except   for the lowercase vowel   e.       Is that a typo?.     -- Gerard Schildberger (talk) 20:05, 11 December 2020 (UTC)

Combinations

Hello

Thank you for your very clean BASIC implementation, which was fun to translate into RPL. Just a question: don't you think it could better work with an ELSE instruction?

subroutine iterate (curr$, start, stp, depth)
  for i = start to stp
     if depth = 0 then print curr$ + " " + string(i)
     else call iterate (curr$ + " " + string(i), i+1, stp, depth-1)
  next i
end subroutine

Aerobar 23:42, 7 June 2023 (CET)


Hello Aerobar!

Yes it is somewhat faster to use the ELSE statement. Although not much else (in my tests)

Thank you anyway.