Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Variables in GAP

  1. Apr 26, 2009 #1
    Hi everyone,

    I'm trying to assign a string in combination with an integer to a variable v. The string-part is fix, the integers comes from another variable n. For Example:

    Code (Text):
    The output of "Print(....);" (that is "Sym_10") should be assigned to another variable. Does anyone know how to do that? There doesn't seem to be a functionality analogue to the "Print()" command when it comes to assigning values to variables. Or can I use "Print()" in some way to solve my problem?

    Thanks in advance.

    Kind regards,
  2. jcsd
  3. Apr 27, 2009 #2
    Hello again,

    Using "JoinStringsWithSeparator(list,[])" is no nice solution, though it works.

    Kind regards,
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook