User Activity

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    I'm trying to define a function or a method that will truncate a positive decimal number to 2 decimal places and then round the result down to the nearest 0.50 So far, I've managed to create a horrible expression which does the job: Result = ((decimal)~trunc(2)*100%50/2)~format(,2) As you can guess, the decimal number is to be turned into a unit of currency, hence the two decimal places, and the "~trunc(2)" I multiply the result by 100 to get cents/pennies/etc. I integer divide it by 50 to get the...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    My coding style sits halfway between Classic and Object; put another way, I code in Classic REXX but use the occasional neat feature of Object REXX. I've forgotten how to add an item to a stem using Object REXX syntax, and the example I have working used only one level of indexing. So here is a sample of code that DOESN'T work... Bookings. = 0 / Set all values to 0 / Name = 'Swifty' / person's name / Bookings.name.0 += 1 / Increment the stem index / Bookings.name.[Bookings.name.0] = 'Stuff' / Try...

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    For the last 10 years or so I've been running a website (http://www.swiftys.org.uk/) on a server hosted by VirtualNames UK, When I first approached them, and asked about REXX, their technical support (one person) agreed to host my server and REXX on their development server. This happy arrangement is coming to an end in a few weeks, as they are migrating to a standard platform which does not include REXX. I've been shoping around to see if I can find any other enlightened web hosts, without any luck...

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    Is there a neat/elegant way to remove the last letter from a word? In this context, "word" is a string of characters which does not end in a blank. So far, the best I've come up with is: Word = word~delstr(word~length) I'd happily accept a "trim" method, broadly similar to the strip() function, but removing a specified number of characters rather than a specific character. I can manage the code, but I get lost defining the ::CLASS parameters. I've tried to learn this, but left it too late; my brain...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    I have many subroutines which can be called via something like: A = stuff('A B C',3)...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    I have a library of routines which 99% of my programs ::REQUIRES One such routine...

  • Modified a comment on ticket #407 on ooRexx (Open Object Rexx)

    Can I request it be implemented? 2016-05-10 is the established international standard...

  • Modified a comment on ticket #407 on ooRexx (Open Object Rexx)

    Can I request it be implemented? 2015-05-04 is the established international standard...

View All

Personal Data

Username:
steve_j_swift
Joined:
2005-10-19 17:13:53

Projects

  • No projects to display.

Personal Tools