Reverse String in Euphoria (original) (raw)
Sample Programs in Every Language
A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Published on 19 February 2023 (Updated: 19 February 2023)
Welcome to the Reverse String in Euphoria page! Here, you'll find the source code for this program as well as a description of how the program works.
Current Solution
include std/io.e
include std/sequence.e
-- Parse 1st command-line argument
sequence argv = command_line()
sequence s = ""
if length(argv) >= 4
then
s = argv[4]
end if
-- Show reversed string
sequence t = reverse(s)
printf(STDOUT, "%s\n", {t})
Reverse String in Euphoria was written by:
- rzuckerm
If you see anything you'd like to change or update, please consider contributing.
How to Implement the Solution
No 'How to Implement the Solution' section available. Please consider contributing.
How to Run the Solution
No 'How to Run the Solution' section available. Please consider contributing.