Skip to main content
Routine clean-up
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

What is the correct way to include a user defined function inside FormFunction[]a FormFunction wrapper?

I'm planning to wrap the FormFunction[]my FormFunction expression in Cloulddeploy[]Cloulddeploy but am having trouble initializinggiving input to the required data to Encde, the function I defined before even starting that processwant to run inside FormFunction. The defined functionEncde runs fine in a notebook on its own, but not inside FormFunction[]FormFunction. The websites I've looked at for help (with my untrained eye, including MMA StackExchangeMathematic.SE) seem to offer contradictory examples of how the function is suppose to be formatted inside FormFunction[]FormFunction.

What is the correct way to include a user defined function inside a What is the correct way to include a user defined function inside FormFunction[]?FormFunction expression?

Encde[v1_, p1_] := 
 TableForm[
  Flatten[
   ToUpperCase[
    IntegerString[
     {Times[ToExpression[ToCharacterCode[v1]], p1]}, 16]] 
    ], TableDirections ->Row
   ]

 

FormFunction[{"v1"->"String", "p1"->"Integer"}, Encde]

What is the correct way to include a user defined function inside FormFunction[]?

I'm planning to wrap the FormFunction[] in Cloulddeploy[] but am having trouble initializing the function I defined before even starting that process. The defined function runs fine in a notebook on its own, but not inside FormFunction[]. The websites I've looked at for help (with my untrained eye, including MMA StackExchange) seem to offer contradictory examples of how the function is suppose to be formatted inside FormFunction[]. What is the correct way to include a user defined function inside FormFunction[]?

Encde[v1_, p1_] := 
 TableForm[
  Flatten[
   ToUpperCase[
    IntegerString[
     {Times[ToExpression[ToCharacterCode[v1]], p1]}, 16]] 
    ], TableDirections ->Row
   ]

 

FormFunction[{"v1"->"String","p1"->"Integer"}, Encde]

What is the correct way to include a user defined function inside a FormFunction wrapper?

I'm planning to wrap my FormFunction expression in Cloulddeploy but am having trouble giving input to the required data to Encde, the function I want to run inside FormFunction. Encde runs fine in a notebook on its own, but not inside FormFunction. The websites I've looked at for help (with my untrained eye, including Mathematic.SE) seem to offer contradictory examples of how the function is suppose to be formatted inside FormFunction.

What is the correct way to include a user defined function inside a FormFunction expression?

Encde[v1_, p1_] := 
 TableForm[
  Flatten[
   ToUpperCase[
    IntegerString[
     {Times[ToExpression[ToCharacterCode[v1]], p1]}, 16]] 
    ], TableDirections ->Row
   ]

FormFunction[{"v1"->"String", "p1"->"Integer"}, Encde]
Source Link
BBirdsell
  • 1.3k
  • 9
  • 21

What is the correct way to include a user defined function inside FormFunction[]?

I'm planning to wrap the FormFunction[] in Cloulddeploy[] but am having trouble initializing the function I defined before even starting that process. The defined function runs fine in a notebook on its own, but not inside FormFunction[]. The websites I've looked at for help (with my untrained eye, including MMA StackExchange) seem to offer contradictory examples of how the function is suppose to be formatted inside FormFunction[]. What is the correct way to include a user defined function inside FormFunction[]?

Encde[v1_, p1_] := 
 TableForm[
  Flatten[
   ToUpperCase[
    IntegerString[
     {Times[ToExpression[ToCharacterCode[v1]], p1]}, 16]] 
    ], TableDirections ->Row
   ]



FormFunction[{"v1"->"String","p1"->"Integer"}, Encde]