1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
coldgirl [10]
3 years ago
11

What does getfenv() do?

Computers and Technology
2 answers:
mariarad [96]3 years ago
5 0

Answer: getfenv() is a type of function. Particually a envirotment function. for a lua coding.

Explanation: What this does it goes thourgh  line of code in a particular order.

This means. getfenv is used to get the current environment of a function. It returns a table of all the things that function has access to. You can also set the environment of a function to another environment.

Forgot to include examples of where this could be used. Although not very common uses, there are some. In the past Script Builders used getfenv to get the environment of a script, and setfenv to set the environment of a created script’s environment to a fake environment, so they couldn’t affect the real one. They could also inject custom global functions.

Not entirely sure if this uses getfenv or setfenv, but the use in Crazyman32’s AeroGameFramework is making the environment of each module have access to other modules without having to require them, and having access to remotes without having to directly reference them.

yarga [219]3 years ago
5 0

Answer: ummm, who knows

Explanation:

You might be interested in
Write a filter that reads in a sequence of integers and prints the integers, removing repeated values that appear consecutively.
lara31 [8.8K]

Answer:

Following is the code for filter:

public class filter

{ public static void main(String[] args)

{ int x = StdIn.readInt();

System.out.print(" " + x + " ");

while(!StdIn.isEmpty())

{ int y = StdIn.readInt();

    if(y != x)

          System.out.print(" " + y + " ");

    x = y;

    }

    }

    }

Explanation:

  • A public class filter is used.
  • The main function will accept a single argument as string[], it is also known as java command line argument.
  • Now the Stdln.readInt is used to read the integers in the sequence and store it in integer x.
  • The value stored in variable x will be printed using System.out.print
  • Now unless the Stdln.readInt gets an empty value, check each value of sequence and store in variable y.
  • If y is not equal to previous value x, print it and shift the value of y into x.
  • Repeat the loop again.

i hope it will help you!

7 0
4 years ago
Read 2 more answers
Are the people who delete brainly questions bots or are they real people?
Brums [2.3K]

Hello!

I would have to assume there are real moderators who go to heavily reported questions.

8 0
3 years ago
Read 2 more answers
The first early astronomer to propose a sun-centered solar system was _____. Newton Brahe Copernicus Galileo
Airida [17]

Copernicus !

<em>Brainliestt? :o</em>

8 0
3 years ago
Read 2 more answers
You have just installed two new Linux servers to handle a new application. You want to integrate user authentication between Lin
Svetach [21]

Answer:

Create a realm trust  is the correct answer to the following question

Explanation:

<u><em>Steps to create realm trust:</em></u>

  • Firstly, you have to open your windows then click, on the start menu  then, you click on the Administrative tool then you found Active directory Trust and Domain.
  • Then, there is the console tree, then click the right button of you mouse on the domain and click on the properties.
  • Then, Trust tab appears and you have to click on the new Trust and then next.
  • Then, Trust name page appears and you have to type the name of the realm for aim the realm.
  • Then, Trust type page appears and you have to select the option of the realm trust and then next.
  • Finally, in the Transitivity Type, you have to select your own type and then in the page of Direction of trust you have to select you direction of your own desire. Then, you have to follow the instructions.
3 0
3 years ago
Which option can you use to control how text flows around a graphic?
Art [367]

Answer:

I believe your answer is C: Wrap Text

Explanation:

If you are trying to put an image in a more specific placement you would use Wrap Text. It helps making the image more clear and understandable because without wrapping the text it wouldnt make any sense and it would just be plain.

Hope this helps

3 0
3 years ago
Read 2 more answers
Other questions:
  • "If a VM is given exclusive access to hardware devices on the host computer, what new Windows Server 2016 feature is being utili
    14·1 answer
  • A university wants to install a client-server network. Which feature do you think is important for them as they set up the netwo
    7·1 answer
  • to access your course materials such as reading, textbooks, and other lesson content, it would be best to go to the?
    5·1 answer
  • The tremendous diversity ofthe source system is the primary reason for their complexity. Doyou agree/ If so, explain briefly why
    11·1 answer
  • What is the output of the AWK program?
    11·1 answer
  • I am fast when im thin, I'm slow when im thick.<br><br>Air is my weakness,<br><br><br>What am I?
    13·1 answer
  • Consider the following code segment.
    10·1 answer
  • Michael needs to ensure that those items that are automatically archived are still easily accessible within Outlook. Which optio
    5·2 answers
  • Guys is there a way to watch manga in colour for free
    13·1 answer
  • Today's consoles and games have audio features that rival cinematic audio.<br> True or False?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!