Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » Strings
  • JerseyColor - team playing with strings

    This simple, beginner-level console program shows conditional logic statements, if-then, if-then-else, and if-then-else if-else. It also shows how to set the value of a string output or use a pre-assigned value, depending on whether the user has entered a string with a length greater than 0. It also shows how to nest conditional if-then-else ...
    Posted to Beginner Examples (FileGallery) by davidw on July 14, 2008
  • Trying to adapt Temperature Value Entry program --- keyword problems. Help!

    I'm trying to adapt the Temperature Value Entry program to a currency conversion program.  I can't seem to get the keyword right and have tried the keyword from the original program, as well as all keywords I could find that are used in other programs.  Does anyone have any ideas for me?
    Posted to KPL Questions and Answers (Forum) by ydg on January 5, 2007
  • Substring behaviour I don't understand

    Hi all, Can anyone explain to me why a) This prints "es": Print(Substring("testing", 2, 5)) b) This results in a runtime error saying that Length can't be 0: Print(Substring("testing", 2, 10)) Based on the description in the system method documentation (see below), I would expect a) to print ...
    Posted to KPL Questions and Answers (Forum) by Gert on September 27, 2006