{"id":249038,"date":"2024-05-06T18:54:19","date_gmt":"2024-05-06T18:54:19","guid":{"rendered":"https:\/\/namso-gen.co\/blog\/?p=249038"},"modified":"2024-05-06T18:54:19","modified_gmt":"2024-05-06T18:54:19","slug":"how-a-function-returns-more-than-one-value-in-vbscript","status":"publish","type":"post","link":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/","title":{"rendered":"How a Function Returns More Than One Value in VBScript?"},"content":{"rendered":"<p>**How a Function Returns More Than One Value in VBScript?**<\/p>\n<p>In VBScript, a function can only return a single value. However, there are several techniques you can use to work around this limitation and effectively return multiple values from a function. In this article, we will explore some of these techniques and how you can implement them in your VBScript code.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_62 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#1_Can_a_function_return_multiple_values_in_VBScript\" title=\"1. Can a function return multiple values in VBScript?\">1. Can a function return multiple values in VBScript?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#2_What_are_the_possible_workarounds_to_return_multiple_values\" title=\"2. What are the possible workarounds to return multiple values?\">2. What are the possible workarounds to return multiple values?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#3_How_can_I_return_multiple_values_using_an_array\" title=\"3. How can I return multiple values using an array?\">3. How can I return multiple values using an array?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#4_Can_you_provide_an_example_of_returning_multiple_values_using_an_array\" title=\"4. Can you provide an example of returning multiple values using an array?\">4. Can you provide an example of returning multiple values using an array?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#5_Is_there_any_other_way_to_return_multiple_values\" title=\"5. Is there any other way to return multiple values?\">5. Is there any other way to return multiple values?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#6_How_can_I_define_a_custom_data_structure_to_return_multiple_values\" title=\"6. How can I define a custom data structure to return multiple values?\">6. How can I define a custom data structure to return multiple values?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#7_Can_you_show_an_example_of_returning_multiple_values_using_a_custom_data_structure\" title=\"7. Can you show an example of returning multiple values using a custom data structure?\">7. Can you show an example of returning multiple values using a custom data structure?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#8_Can_I_return_multiple_values_by_passing_variables_%E2%80%9CByRef%E2%80%9D\" title=\"8. Can I return multiple values by passing variables &#8220;ByRef&#8221;?\">8. Can I return multiple values by passing variables &#8220;ByRef&#8221;?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#9_How_can_I_return_multiple_values_using_%E2%80%9CByRef%E2%80%9D_parameters\" title=\"9. How can I return multiple values using &#8220;ByRef&#8221; parameters?\">9. How can I return multiple values using &#8220;ByRef&#8221; parameters?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#10_Can_you_provide_an_example_of_returning_multiple_values_using_%E2%80%9CByRef%E2%80%9D_parameters\" title=\"10. Can you provide an example of returning multiple values using &#8220;ByRef&#8221; parameters?\">10. Can you provide an example of returning multiple values using &#8220;ByRef&#8221; parameters?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#11_What_if_I_need_to_return_a_large_number_of_values\" title=\"11. What if I need to return a large number of values?\">11. What if I need to return a large number of values?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#12_Can_a_function_return_different_types_of_values\" title=\"12. Can a function return different types of values?\">12. Can a function return different types of values?<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1_Can_a_function_return_multiple_values_in_VBScript\"><\/span>1. Can a function return multiple values in VBScript?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nNo, VBScript functions are designed to return only a single value.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_What_are_the_possible_workarounds_to_return_multiple_values\"><\/span>2. What are the possible workarounds to return multiple values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nThere are various workarounds such as using an array, custom data structure, or passing &#8220;ByRef&#8221; variables.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_How_can_I_return_multiple_values_using_an_array\"><\/span>3. How can I return multiple values using an array?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYou can create an array in your function and populate it with the desired values, then return the array as the function result.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Can_you_provide_an_example_of_returning_multiple_values_using_an_array\"><\/span>4. Can you provide an example of returning multiple values using an array?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nCertainly! Here&#8217;s an example:<\/p>\n<p>&#8220;`vbscript<br \/>\nFunction GetValues()<br \/>\n    Dim values(2)<br \/>\n    values(0) = &#8220;Value 1&#8221;<br \/>\n    values(1) = &#8220;Value 2&#8221;<br \/>\n    values(2) = &#8220;Value 3&#8221;<br \/>\n    GetValues = values<br \/>\nEnd Function<\/p>\n<p>Dim result<br \/>\nresult = GetValues()<br \/>\nWScript.Echo result(0)  &#8216; Output: Value 1<br \/>\nWScript.Echo result(1)  &#8216; Output: Value 2<br \/>\nWScript.Echo result(2)  &#8216; Output: Value 3<br \/>\n&#8220;`<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Is_there_any_other_way_to_return_multiple_values\"><\/span>5. Is there any other way to return multiple values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can define a custom data structure (such as a class or structure) to hold multiple values and return an instance of that data structure from the function.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"6_How_can_I_define_a_custom_data_structure_to_return_multiple_values\"><\/span>6. How can I define a custom data structure to return multiple values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYou can create a class or structure using the `Class` or `Type` keyword and add properties to hold the values you want to return. Then, create an instance of the class or structure and set its properties accordingly.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"7_Can_you_show_an_example_of_returning_multiple_values_using_a_custom_data_structure\"><\/span>7. Can you show an example of returning multiple values using a custom data structure?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nCertainly! Here&#8217;s an example using a class:<\/p>\n<p>&#8220;`vbscript<br \/>\nClass MultipleValues<br \/>\n    Public Value1<br \/>\n    Public Value2<br \/>\nEnd Class<\/p>\n<p>Function GetValues()<br \/>\n    Dim result<br \/>\n    Set result = New MultipleValues<br \/>\n    result.Value1 = &#8220;Value 1&#8221;<br \/>\n    result.Value2 = &#8220;Value 2&#8221;<br \/>\n    Set GetValues = result<br \/>\nEnd Function<\/p>\n<p>Dim result<br \/>\nSet result = GetValues()<br \/>\nWScript.Echo result.Value1  &#8216; Output: Value 1<br \/>\nWScript.Echo result.Value2  &#8216; Output: Value 2<br \/>\n&#8220;`<\/p>\n<h3><span class=\"ez-toc-section\" id=\"8_Can_I_return_multiple_values_by_passing_variables_%E2%80%9CByRef%E2%80%9D\"><\/span>8. Can I return multiple values by passing variables &#8220;ByRef&#8221;?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can pass variables to a function as parameters with the &#8220;ByRef&#8221; keyword. Any modifications made to those variables within the function will be reflected outside the function.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"9_How_can_I_return_multiple_values_using_%E2%80%9CByRef%E2%80%9D_parameters\"><\/span>9. How can I return multiple values using &#8220;ByRef&#8221; parameters?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYou can declare your function with &#8220;ByRef&#8221; parameters and modify those parameters within the function to pass multiple values back.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"10_Can_you_provide_an_example_of_returning_multiple_values_using_%E2%80%9CByRef%E2%80%9D_parameters\"><\/span>10. Can you provide an example of returning multiple values using &#8220;ByRef&#8221; parameters?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nCertainly! Here&#8217;s an example:<\/p>\n<p>&#8220;`vbscript<br \/>\nSub GetValues(ByRef value1, ByRef value2)<br \/>\n    value1 = &#8220;Value 1&#8221;<br \/>\n    value2 = &#8220;Value 2&#8221;<br \/>\nEnd Sub<\/p>\n<p>Dim result1, result2<br \/>\nGetValues result1, result2<br \/>\nWScript.Echo result1  &#8216; Output: Value 1<br \/>\nWScript.Echo result2  &#8216; Output: Value 2<br \/>\n&#8220;`<\/p>\n<h3><span class=\"ez-toc-section\" id=\"11_What_if_I_need_to_return_a_large_number_of_values\"><\/span>11. What if I need to return a large number of values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nIn such cases, it may be more practical to use an array or a custom data structure instead of having a long list of &#8220;ByRef&#8221; parameters.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"12_Can_a_function_return_different_types_of_values\"><\/span>12. Can a function return different types of values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can use arrays or custom data structures to return different types of values in VBScript. Arrays can hold values of different data types, while custom data structures can have properties of different types.<br \/>\n\u200b<br \/>\n**Conclusion**<br \/>\nWhile VBScript functions may have limitations when it comes to returning multiple values, by using arrays, custom data structures, or passing variables &#8220;ByRef,&#8221; you can effectively overcome this limitation and achieve the desired results in your code. It&#8217;s important to choose the approach that best suits your specific requirements and coding style.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques you can use to work around this limitation and effectively return multiple values from a function. In this article, we will explore some of these techniques and how you can &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How a Function Returns More Than One Value in VBScript?\" class=\"read-more button\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#more-249038\">Read more<span class=\"screen-reader-text\">How a Function Returns More Than One Value in VBScript?<\/span><\/a><\/p>\n","protected":false},"author":63,"featured_media":107420,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86279],"tags":[],"class_list":["post-249038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How a Function Returns More Than One Value in VBScript?<\/title>\n<meta name=\"description\" content=\"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How a Function Returns More Than One Value in VBScript?\" \/>\n<meta property=\"og:description\" content=\"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques\" \/>\n<meta property=\"og:url\" content=\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\" \/>\n<meta property=\"og:site_name\" content=\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/synchronyfinancial\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-06T18:54:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2024\/03\/faq.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Velma Ogden\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@synchrony\" \/>\n<meta name=\"twitter:site\" content=\"@synchrony\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Velma Ogden\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\"},\"author\":{\"name\":\"Velma Ogden\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/fc93d9bf0970ea3275be2a8bb1824bee\"},\"headline\":\"How a Function Returns More Than One Value in VBScript?\",\"datePublished\":\"2024-05-06T18:54:19+00:00\",\"dateModified\":\"2024-05-06T18:54:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\"},\"wordCount\":603,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"articleSection\":[\"Learn\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\",\"name\":\"How a Function Returns More Than One Value in VBScript?\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\"},\"datePublished\":\"2024-05-06T18:54:19+00:00\",\"dateModified\":\"2024-05-06T18:54:19+00:00\",\"description\":\"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques\",\"breadcrumb\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/namso-gen.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How a Function Returns More Than One Value in VBScript?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"description\":\"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co\",\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/namso-gen.co\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"contentUrl\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"width\":500,\"height\":164,\"caption\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\"},\"image\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/synchronyfinancial\",\"https:\/\/twitter.com\/synchrony\",\"https:\/\/www.youtube.com\/synchronyfinancial\",\"https:\/\/www.instagram.com\/synchrony\",\"https:\/\/www.linkedin.com\/company\/synchrony-financial\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/fc93d9bf0970ea3275be2a8bb1824bee\",\"name\":\"Velma Ogden\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Velma Ogden\"},\"description\":\"Guest author Velma Ogden has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How a Function Returns More Than One Value in VBScript?","description":"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/","og_locale":"en_US","og_type":"article","og_title":"How a Function Returns More Than One Value in VBScript?","og_description":"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques","og_url":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/","og_site_name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","article_publisher":"https:\/\/www.facebook.com\/synchronyfinancial","article_published_time":"2024-05-06T18:54:19+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2024\/03\/faq.png","type":"image\/png"}],"author":"Velma Ogden","twitter_card":"summary_large_image","twitter_creator":"@synchrony","twitter_site":"@synchrony","twitter_misc":{"Written by":"Velma Ogden","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#article","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/"},"author":{"name":"Velma Ogden","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/fc93d9bf0970ea3275be2a8bb1824bee"},"headline":"How a Function Returns More Than One Value in VBScript?","datePublished":"2024-05-06T18:54:19+00:00","dateModified":"2024-05-06T18:54:19+00:00","mainEntityOfPage":{"@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/"},"wordCount":603,"commentCount":0,"publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"articleSection":["Learn"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/","url":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/","name":"How a Function Returns More Than One Value in VBScript?","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/#website"},"datePublished":"2024-05-06T18:54:19+00:00","dateModified":"2024-05-06T18:54:19+00:00","description":"**How a Function Returns More Than One Value in VBScript?** In VBScript, a function can only return a single value. However, there are several techniques","breadcrumb":{"@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/namso-gen.co\/blog\/how-a-function-returns-more-than-one-value-in-vbscript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/namso-gen.co\/blog\/"},{"@type":"ListItem","position":2,"name":"How a Function Returns More Than One Value in VBScript?"}]},{"@type":"WebSite","@id":"https:\/\/namso-gen.co\/blog\/#website","url":"https:\/\/namso-gen.co\/blog\/","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","description":"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co","publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/namso-gen.co\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/namso-gen.co\/blog\/#organization","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","url":"https:\/\/namso-gen.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","contentUrl":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","width":500,"height":164,"caption":"Namso Gen Blog - Free Credit Card Generator [100% Valid]"},"image":{"@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/synchronyfinancial","https:\/\/twitter.com\/synchrony","https:\/\/www.youtube.com\/synchronyfinancial","https:\/\/www.instagram.com\/synchrony","https:\/\/www.linkedin.com\/company\/synchrony-financial"]},{"@type":"Person","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/fc93d9bf0970ea3275be2a8bb1824bee","name":"Velma Ogden","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Velma Ogden"},"description":"Guest author Velma Ogden has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here."}]}},"_links":{"self":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/249038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/comments?post=249038"}],"version-history":[{"count":0,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/249038\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media\/107420"}],"wp:attachment":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media?parent=249038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/categories?post=249038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/tags?post=249038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}