CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: cons013
Forum: FLUENT August 14, 2023, 06:09
Replies: 3
Views: 239
Posted By cons013
I got it to work: (format #f "the string is...

I got it to work:

(format #f "the string is ~04d" 1)

returns: the string is 0001

If anyone could explain the #f (I've seen it's boolean?) and what it means in scheme I'd be very grateful!
Forum: FLUENT August 13, 2023, 23:57
Replies: 3
Views: 239
Posted By cons013
Hi, thanks for the reply. I tried this but keep...

Hi, thanks for the reply. I tried this but keep getting errors, I'm not sure how to actually implement this into a code. I get the message:

> (format #t "~5,'0d" 12)

Error: format: unassigned...
Forum: FLUENT August 13, 2023, 14:30
Replies: 3
Views: 239
Posted By cons013
Zeroes padding in scheme

Hello,

I am trying to save an image sequence to then convert into an animation. I have something like this:

(let((i 0)) i
(do ((x 1 (- x 0.2))) ((< x -2))
(ti-menu-load-string (format #f...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 19:53.