logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
LiveStreamingJamaica  
#1 Posted : Monday, May 18, 2020 1:27:55 AM(UTC)
LiveStreamingJamaica

Rank: Newbie

Groups: Registered
Joined: 5/7/2020(UTC)
Posts: 7
Jamaica
Location: St Ann

Was thanked: 3 time(s) in 1 post(s)
I'm curious as to the Advantages and/or Disadvantages with the 2 Syntaxs below. They both do the same thing but wondering if one is better (or worse) for resource utilization.

API.FUNCTION vs FUNCTION=

Examples

API.Function("SetOutput4", "Image_Name")

Function=SetOutput4&Input=Image_Name
doggy  
#2 Posted : Monday, May 18, 2020 1:50:31 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,281
Belgium
Location: Belgium

Thanks: 295 times
Was thanked: 965 time(s) in 799 post(s)
Originally Posted by: LiveStreamingJamaica Go to Quoted Post
I'm curious as to the Advantages and/or Disadvantages with the 2 Syntaxs below. They both do the same thing but wondering if one is better (or worse) for resource utilization.

API.FUNCTION vs FUNCTION=

Examples

API.Function("SetOutput4", "Image_Name")

Function=SetOutput4&Input=Image_Name


No idea resource utilization but I do believe its easier to use the API.Function to replace (or combine) parts with variables used in a script
LiveStreamingJamaica  
#3 Posted : Monday, May 18, 2020 2:19:50 AM(UTC)
LiveStreamingJamaica

Rank: Newbie

Groups: Registered
Joined: 5/7/2020(UTC)
Posts: 7
Jamaica
Location: St Ann

Was thanked: 3 time(s) in 1 post(s)
It's only easier as you don't have to type all the "=" and "&" signs in the line.
doggy  
#4 Posted : Monday, May 18, 2020 2:23:53 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,281
Belgium
Location: Belgium

Thanks: 295 times
Was thanked: 965 time(s) in 799 post(s)
Originally Posted by: LiveStreamingJamaica Go to Quoted Post
It's only easier as you don't have to type all the "=" and "&" signs in the line.


can you replace the say image_name with a variable or add a variable to a string to have a more logical en streamlined coding within the end less line for repeated code
??
LiveStreamingJamaica  
#5 Posted : Monday, May 18, 2020 2:50:41 AM(UTC)
LiveStreamingJamaica

Rank: Newbie

Groups: Registered
Joined: 5/7/2020(UTC)
Posts: 7
Jamaica
Location: St Ann

Was thanked: 3 time(s) in 1 post(s)
if you understand and know VB almost anything is possible. However; you are asking questions and responding to my post and not understanding my post/question.

I merely want to know if there is any ADVANTAGE/DISADVANTAGE in using the SYNTAX "API.FUNCTION" vs "FUNCTION="

I'm not about to give you instructions on how to create/write Scripts from this Post.
doggy  
#6 Posted : Monday, May 18, 2020 3:06:08 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,281
Belgium
Location: Belgium

Thanks: 295 times
Was thanked: 965 time(s) in 799 post(s)
Arguing?

I merely gave an opinion on what i found be easier and that i had no idea regarding your original in terms of resource utilisation to which you countered that the easy argument is about typing

now you claim i dont understand while changing your question to ADVANTAGE/DISADVANTAGE in using the SYNTAX

if you combine questions expect combined answers

as to resource utilization why not ask the developer , he would be best to give you that answer

Quote:
I'm not about to give you instructions on how to create/write Scripts from this Post.


no need to
LiveStreamingJamaica  
#7 Posted : Monday, May 18, 2020 3:20:15 AM(UTC)
LiveStreamingJamaica

Rank: Newbie

Groups: Registered
Joined: 5/7/2020(UTC)
Posts: 7
Jamaica
Location: St Ann

Was thanked: 3 time(s) in 1 post(s)
HAVE A NICE DAY!
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.